package com.xinzhi.savingpot.task.service;

import com.xinzhi.savingpot.task.vo.TaskInfoVo;
import com.xinzhi.savingpot.util.BaseResponse;

import java.io.IOException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author astupidcoder
 * @since 2021-01-05
 */
public interface ITaskinfoService {

    BaseResponse addTask(TaskInfoVo tiv, Integer userID);
//    获取任务详细信息
    BaseResponse queryTaskInfo(Integer taskId) throws IOException;

}
